package it.zqdszb.mvp.contract;

import java.util.List;

import it.zqdszb.entity.ChannelListBean;
import it.zqdszb.library.basemvp.BaseModel;
import it.zqdszb.library.basemvp.BasePresenter;
import it.zqdszb.library.basemvp.BaseView;
import it.zqdszb.library.retrofit.exception.ApiException;
import it.zqdszb.mvp.callback.OnChannelListCallBall;

/**
 * Created by GH on 2018-05-14.
 */

public interface ChannelListContract {

	interface ChannelListView extends BaseView {
		void showView(List<ChannelListBean> result);
		void showError(ApiException e);
	}


	interface ChannelListModel extends BaseModel {
		void fetchData(int groupId,OnChannelListCallBall callBack);
	}

	abstract class  ChannelListConPresenter extends BasePresenter<ChannelListView,ChannelListModel> {
		public abstract void getData(int groupId);
	}
}
